curl --request GET \
--url https://api-sandbox.circle.com/v1/payments/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"fromAmount": {
"amount": "3.14",
"currency": "EUR"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"verification": {
"avs": "D",
"cvv": "not_requested",
"threeDSecure": "pass",
"eci": "00"
},
"originalPayment": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"captured": false,
"captureAmount": {
"amount": "3.14",
"currency": "USD"
},
"captureDate": "2020-04-10T02:13:30.000Z",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"cancel": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "cancel",
"description": "Payment",
"status": "pending",
"createDate": "2020-04-10T02:13:30.000Z"
},
"refunds": [
{
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"createDate": "2020-04-10T02:13:30.000Z"
}
],
"fees": {
"amount": "3.14",
"currency": "USD"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
},
"cancel": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "cancel",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"originalPayment": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"createDate": "2020-04-10T02:13:30.000Z"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
},
"refunds": [
{
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "refund",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"originalPayment": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"createDate": "2020-04-10T02:13:30.000Z"
},
"cancel": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "cancel",
"description": "Payment",
"status": "pending",
"createDate": "2020-04-10T02:13:30.000Z"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
}
],
"fees": {
"amount": "3.14",
"currency": "USD"
},
"trackingRef": "24910599141085313498894",
"externalRef": "YYYYMMDDXXXXXXXX012345",
"errorCode": "payment_failed",
"metadata": {
"email": "satoshi@circle.com",
"phoneNumber": "+14155555555"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"riskEvaluation": {
"decision": "approved",
"reason": "3000"
},
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
}
}curl --request GET \
--url https://api-sandbox.circle.com/v1/payments/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"fromAmount": {
"amount": "3.14",
"currency": "EUR"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"verification": {
"avs": "D",
"cvv": "not_requested",
"threeDSecure": "pass",
"eci": "00"
},
"originalPayment": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"captured": false,
"captureAmount": {
"amount": "3.14",
"currency": "USD"
},
"captureDate": "2020-04-10T02:13:30.000Z",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"cancel": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "cancel",
"description": "Payment",
"status": "pending",
"createDate": "2020-04-10T02:13:30.000Z"
},
"refunds": [
{
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"createDate": "2020-04-10T02:13:30.000Z"
}
],
"fees": {
"amount": "3.14",
"currency": "USD"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
},
"cancel": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "cancel",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"originalPayment": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"createDate": "2020-04-10T02:13:30.000Z"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
},
"refunds": [
{
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "refund",
"merchantId": "fc988ed5-c129-4f70-a064-e5beb7eb8e32",
"merchantWalletId": "212000",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "card"
},
"description": "Payment",
"status": "pending",
"originalPayment": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "payment",
"amount": {
"amount": "3.14",
"currency": "USD"
},
"description": "Payment",
"status": "pending",
"requiredAction": {
"type": "three_d_secure_required",
"redirectUrl": "https://example.org"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"createDate": "2020-04-10T02:13:30.000Z"
},
"cancel": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"type": "cancel",
"description": "Payment",
"status": "pending",
"createDate": "2020-04-10T02:13:30.000Z"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
}
],
"fees": {
"amount": "3.14",
"currency": "USD"
},
"trackingRef": "24910599141085313498894",
"externalRef": "YYYYMMDDXXXXXXXX012345",
"errorCode": "payment_failed",
"metadata": {
"email": "satoshi@circle.com",
"phoneNumber": "+14155555555"
},
"channel": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"riskEvaluation": {
"decision": "approved",
"reason": "3000"
},
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Universally unique identifier (UUID v4) of a resource.
"b3d9d2d5-4c12-4946-a09d-953e82fae2b0"
Successfully retrieved a payment.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
payment, refund, cancel Unique system generated identifier for the merchant.
"fc988ed5-c129-4f70-a064-e5beb7eb8e32"
Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). action_required means that additional steps are required to process this payment; refer to requiredAction for more details. Terminal states are paid and failed.
pending, confirmed, paid, failed, action_required Unique system generated identifier for the wallet of the merchant.
36"212000"
Enumerated description of the payment.
Payment When the payment status is action_required, this object summarizes the required additional steps.
Show child attributes
The type of action that is required to proceed with the payment. Currently only one type is supported.
three_d_secure_required The URL to bring the user to in order to complete the payment.
"https://example.org"
Indicates the status of the payment verification. This property will be present once the payment is confirmed.
Show child attributes
Status of the AVS check. Raw AVS response, expressed as an upper-case letter. not_requested indicates check was not made. pending is pending/processing.
"D"
Enumerated status of the check. not_requested indicates check was not made. pass indicates value is correct. fail indicates value is incorrect. unavailable indicates card issuer did not do the provided check. pending indicates check is pending/processing.
not_requested, pass, fail, unavailable, pending Enumerated status of the check. pass indicates successful 3DS authentication. fail indicates failed 3DS authentication.
pass, fail ECI (electronic commerce indicator) value returned by Directory Servers (namely Visa, MasterCard, JCB, and American Express) indicating the outcome of authentication attempted on transactions enforced by 3DS.
00, 01, 02, 05, 06, 07 Status information of the related payment. This property is only present on refund or cancel items.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
payment Unique system generated identifier for the merchant.
"fc988ed5-c129-4f70-a064-e5beb7eb8e32"
Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). action_required means that additional steps are required to process this payment; refer to requiredAction for more details. Terminal states are paid and failed.
pending, confirmed, paid, failed, action_required Unique system generated identifier for the wallet of the merchant.
36"212000"
Enumerated description of the payment.
Payment Determines if a payment has successfully been captured. This property is only present for payments that did not use auto capture.
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
When the payment status is action_required, this object summarizes the required additional steps.
Show child attributes
The type of action that is required to proceed with the payment. Currently only one type is supported.
three_d_secure_required The URL to bring the user to in order to complete the payment.
"https://example.org"
Status information of the related cancel. This property is only present on canceled payment or refund items.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
cancel Enumerated description of the payment item.
Payment Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). Terminal states are paid and failed.
pending, confirmed, paid, failed ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
payment, refund Enumerated description of the payment item.
Payment Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). action_required means that additional steps are required to process this payment; refer to requiredAction for more details. Terminal states are paid and failed.
pending, confirmed, paid, failed, action_required When the payment status is action_required, this object summarizes the required additional steps.
Show child attributes
The type of action that is required to proceed with the payment. Currently only one type is supported.
three_d_secure_required The URL to bring the user to in order to complete the payment.
"https://example.org"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
The channel identifier that can be set for the payment. When not provided, the default channel is used.
"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Status information of the related cancel. This property is only present on canceled payment or refund items.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
cancel Unique system generated identifier for the merchant.
"fc988ed5-c129-4f70-a064-e5beb7eb8e32"
Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). Terminal states are paid and failed.
pending, confirmed, paid, failed Unique system generated identifier for the wallet of the merchant.
36"212000"
Enumerated description of the payment.
Payment Status information of the related payment. This property is only present on refund or cancel items.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
payment, refund Enumerated description of the payment item.
Payment Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). action_required means that additional steps are required to process this payment; refer to requiredAction for more details. Terminal states are paid and failed.
pending, confirmed, paid, failed, action_required When the payment status is action_required, this object summarizes the required additional steps.
Show child attributes
The type of action that is required to proceed with the payment. Currently only one type is supported.
three_d_secure_required The URL to bring the user to in order to complete the payment.
"https://example.org"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
The channel identifier that can be set for the payment. When not provided, the default channel is used.
"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
refund Unique system generated identifier for the merchant.
"fc988ed5-c129-4f70-a064-e5beb7eb8e32"
Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). Terminal states are paid and failed.
pending, confirmed, paid, failed Unique system generated identifier for the wallet of the merchant.
36"212000"
Enumerated description of the payment.
Payment Status information of the related payment. This property is only present on refund or cancel items.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
payment, refund Enumerated description of the payment item.
Payment Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). action_required means that additional steps are required to process this payment; refer to requiredAction for more details. Terminal states are paid and failed.
pending, confirmed, paid, failed, action_required When the payment status is action_required, this object summarizes the required additional steps.
Show child attributes
The type of action that is required to proceed with the payment. Currently only one type is supported.
three_d_secure_required The URL to bring the user to in order to complete the payment.
"https://example.org"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Status information of the related cancel. This property is only present on canceled payment or refund items.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
Type of the payment object.
cancel Enumerated description of the payment item.
Payment Enumerated status of the payment. pending means the payment is waiting to be processed. confirmed means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. paid means settlement funds have been received and are available to the merchant. failed means something went wrong (most commonly that the payment was denied). Terminal states are paid and failed.
pending, confirmed, paid, failed ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
The channel identifier that can be set for the payment. When not provided, the default channel is used.
"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Payment tracking reference. Will be present once known.
"24910599141085313498894"
External network identifier which will be present once provided from the applicable network.
Examples:
"YYYYMMDDXXXXXXXX012345"
Indicates the failure reason of a payment. Only present for payments in failed state. Possible values are [payment_failed, payment_fraud_detected, payment_denied, payment_not_supported_by_issuer, payment_not_funded, payment_unprocessable, payment_stopped_by_issuer, payment_canceled, payment_returned, payment_failed_balance_check, card_failed, card_invalid, card_address_mismatch, card_zip_mismatch, card_cvv_invalid, card_expired, card_limit_violated, card_not_honored, card_cvv_required, credit_card_not_allowed, card_account_ineligible, card_network_unsupported, channel_invalid, unauthorized_transaction, bank_account_ineligible, bank_transaction_error, invalid_account_number, invalid_wire_rtn, invalid_ach_rtn, vendor_inactive]'
payment_failed, payment_fraud_detected, payment_denied, payment_not_supported_by_issuer, payment_not_funded, payment_unprocessable, payment_stopped_by_issuer, payment_canceled, payment_returned, payment_failed_balance_check, card_failed, card_invalid, card_address_mismatch, card_zip_mismatch, card_cvv_invalid, card_expired, card_limit_violated, card_not_honored, card_cvv_required, card_restricted,, card_account_ineligible, card_network_unsupported, channel_invalid, unauthorized_transaction, bank_account_ineligible, bank_transaction_error, invalid_account_number, invalid_wire_rtn, invalid_ach_rtn, ref_id_invalid, account_name_mismatch, account_number_mismatch, account_ineligible, wallet_address_mismatch, customer_name_mismatch, institution_name_mismatch, vendor_inactive Show child attributes
Email of the user.
1024"satoshi@circle.com"
Phone number of the user in E.164 format. We recommend using a library such as libphonenumber to parse and validate phone numbers.
16"+14155555555"
The channel identifier that can be set for the payment. When not provided, the default channel is used.
"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"
Results of risk evaluation. Only present if the payment is denied by Circle's risk service.
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Was this page helpful?