- Print
- DarkLight
Complete Capture Test Transaction
Completes the capture of a test transaction associated with a specific order.
Transaction Capture Completed
A unique identifier for the order associated with the transaction.
A unique identifier for the transaction.
A unique identifier for the payment method.
A unique identifier for the customer to whom the payment method belongs. A customer can have multiple payments methods.
The latest transaction amount when accounting for captures and refunds.
The latest amount the transaction has authorized.
The total amount captured by the transaction
The total amount of all refunds associated with the transaction
An ISO 4217 currency code used for the transaction.
A description of the transaction.
The current state of the transaction:
- AuthFailed - it was not possible to authorize the transaction, it cannot be re-authorized.
- AuthSucceeded - the transaction was successfully authorized, and can now be submitted for capturing.
- AuthExpired - the authorization of the transactions expired before it was voided or captured.
- AuthVoided - the transaction was voided, it can no longer be captured.
- Capturing - the transaction has been submitted for capturing.
- CaptureFailed - an attempt to capture the transaction failed and cannot be retried.
- CaptureSucceeded - the transaction has been successfully captured.
- Refunded - all or part of the transaction was refunded.
- Refunding - all or part of the transaction has been submitted for a refund.
- RefundFailed - refund transaction failed.
The transaction status contains details about the action associated with the transaction e.g. whether it succeeded or why it failed.
A success or error code in the format of PGXXXX.
A description of the possible error or success result
Whether the error is retryable or not.
A history of actions performed on the transaction.
The updated totalAmount
of the transaction after this action was performed.
The result of the action.
Actions performed on the transactions:
- Authorize - reserve an amount of money on a payment method. Can be re-sent to update the reserved amount.
- Void - cancel a transaction that has been authorized. Can be sent once.
- Capture - start the process of settling a transaction for a value up to the amount that has been authorized. Can be sent once.
- Poll - transactions submitted for capture are periodically polled to get their capture status.
- Refund - refund an amount up to the amount taken during a settled transaction. Can be sent once.
The transaction status contains details about the action associated with the transaction e.g. whether it succeeded or why it failed.
A success or error code in the format of PGXXXX.
A description of the possible error or success result
Whether the error is retryable or not.
The date and time it was created.
The date and time it was created.
The date and time it was last updated.
When storing a payment method alongside creating a transaction, the payment method will be returned in the response.
Payment method type is a bank card.
The bank card details related to this payment method.
The brand of the card.
The payment method mechanism.
The name on the card.
The expiry date of the card in the format YYYY-MM
The first 4-6 digits of the card number (bank identification number).
The last 4 digits of the card number.
The country where the card was issued.
The billing details associated with the payment method.
The billing address.
The first line of the address.
The second line of the address.
The city.
The region.
The country.
The zip/postal code.
The name associated with the payment method.
The email address associated with the payment method.
The phone number associated with the payment method.
A unique identifier for the payment method.
A unique identifier for the customer to whom the payment method belongs. A customer can have multiple payments methods.
Payment method type is Paypal.
The PayPal account details related to this payment method.
The email address associated with the PayPay account.
The ID of the PayPal account.
The date and time the PayPal account revoked this object.
A unique identifier for the payment method.
A unique identifier for the customer to whom the payment method belongs. A customer can have multiple payments methods.
Invalid Authentication Credentials
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Invalid Authorization Credentials
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Resource Not Found
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Action Cannot Be Performed
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Too Many Requests
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Internal Server Error
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Provider Error
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Service Unavailable
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.
Provider Unavailable
A description of the error.
A list of causes for the error.
A description of a problem which led to this error.
Additional information about the cause of the error.