Retrieve an existing payment by its ID.
Security
bearerAuth or basicAuth
- Mock serverhttps://docs.resolvepay.com/_mock/merchant-api/openapi/payments/{payment_id}
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/payments/{payment_id}
- bearerAuth
- basicAuth
curl -i -X GET \
'https://docs.resolvepay.com/_mock/merchant-api/openapi/payments/{payment_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'An object representing a payment.
Source of the payment.
Enum:"api""merchant_user""admin_user""customer_user""payment_gateway""check""guest_checkout"
Example:"customer_user"
Method of payment made by the customer.
Enum:"check""ach_debit""direct_deposit""card""merchant""unapplied_payment_adjustment""credit_note""adjustment""wire"
Example:"ach_debit"
Status of the payment.
pending- Payment is pending processing.in_transit- Payment has been processed and is in transit.in_review- Payment is being reviewed.paid- Payment has been confirmed and applied to the customer's account.failed- Payment failed confirmation (e.g., bank transfer or credit card payment rejected).canceled- Payment was canceled by request.
Enum:"pending""in_transit""in_review""paid""failed""canceled"
Example:"paid"
Date the payment was confirmed by Resolve and applied to the customer's account.
Example:"2020-01-02T00:00:00.730Z"
Date the payment was processed by Resolve.
Example:"2020-01-01T12:00:00.730Z"
Date the payment was scheduled for processing, if applicable.
Example:null
Response
{ "id": "PMMlaE5wbg0", "customer_id": "X50sgfRd", "source": "customer_user", "amount": 1000, "method": "ach_debit", "status": "paid", "created_at": "2020-01-01T00:00:00.730Z", "paid_at": "2020-01-02T00:00:00.730Z", "canceled_at": null, "failed_at": null, "processed_at": "2020-01-01T12:00:00.730Z", "scheduled_at": null, "processing_fee": 25.5, "canceled_code": null, "failed_code": null, "payment_links": [ { … } ], "created_by_user_id": null }