Source management
Last updated
Last updated
Retrieve the details of a source with a specific ID by including the ID in the {id} URI path parameter.
The source's ID.
OK.
Unique identifier for the source.
"a6809a63-e6a9-4016-abbc-f33d19fccb5b"
Used for client-side retrieval using a public key.
"52199c06-b261-4786-8609-d0a84185a0d2_2b72614b-77f6-4801-bd48-8982e314fdd5"
Time when the source was created.
The payment type of the source. The payment type will correspond to another element in the source response that contains detailed information specific to the type. For example, a type of creditCard indicates that there is an object in the response named creditCard.
"creditCard"
Three-letter ISO currency code.
"USD"
Amount associated with the source. Once ready, the source will be charged this amount. Required for single_use sources.
1180.26
If true, you can reuse this source, if false, only once.
true
The owner of the payment source.
The authentication flow of the source.
"standard"
The status of the source, one of pending_funds, pending_redirect, requires_action, cancelled, chargeable, consumed or failed. You can only use chargeable sources to create a charge.
"chargeable"
Key-value pairs used to store additional data. Value can be string, boolean or integer types.
Unique identifier of a customer.
"5823594809"
Tracks the process of collecting a payment.
"8cecaa32-f692-44cc-b103-4cf24dc93913"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
false
Create a secondary source. A secondary payment source in the Commerce API is typically a supplement to a primary one.
Unique identifier of the session
"{{checkout_session-id}}"
The amount associated to the order
20
The type of source
"customerCredit"
Unique identifier associated to an upstream system
"custCredit_orderId_16008796"
The owner of the payment source.
OK.
Unique identifier for the source.
"a6809a63-e6a9-4016-abbc-f33d19fccb5b"
Used for client-side retrieval using a public key.
"52199c06-b261-4786-8609-d0a84185a0d2_2b72614b-77f6-4801-bd48-8982e314fdd5"
Time when the source was created.
The payment type of the source. The payment type will correspond to another element in the source response that contains detailed information specific to the type. For example, a type of creditCard indicates that there is an object in the response named creditCard.
"creditCard"
Three-letter ISO currency code.
"USD"
Amount associated with the source. Once ready, the source will be charged this amount. Required for single_use sources.
1180.26
If true, you can reuse this source, if false, only once.
true
The owner of the payment source.
The authentication flow of the source.
"standard"
The status of the source, one of pending_funds, pending_redirect, requires_action, cancelled, chargeable, consumed or failed. You can only use chargeable sources to create a charge.
"chargeable"
Key-value pairs used to store additional data. Value can be string, boolean or integer types.
Unique identifier of a customer.
"5823594809"
Tracks the process of collecting a payment.
"8cecaa32-f692-44cc-b103-4cf24dc93913"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
false