Captures
Captures (v1.0.3 update ongoing)
Currently the following 4 Capture stage actionTypes are supported within the Accept Transactions API.
actionType definitions
actionType | definition |
CAPTURE | In CNP a CAPTURE follow-up action (operation) needs to be sent in by the API user so that the Back Office can CLEAR the transaction. Note: In POS the HOST sends in the CAPTURE (Advice) after the terminal has sent in the COMPLETION action on a purchase so the Back Office can clear the transaction. There are time limits between the original action (operation) and the last capture that depends on whether the original action (operation) was an authorization or a pre-authorization: NOTE: VISA does not allow estimated amounts/incremental for all MCCs. Please consult the pre-authorization section. |
CAPTURE_SPLIT | A CAPTURE can be split into multiple partial CAPTURES e.g. in case the goods are delivered at multiple intervals in time. Each partial CAPTURE must contain the sequenceNumber. By the last partial CAPTURE it is mandated to send in the sequenceCount of the number of Partial Captures. |
AUTH_AND_CAPTURE | This action type Triggers card Dual message actionTypes “AUTH” and “CAPTURE”. This action can be used for Service "Purchase" and Service “Refund”. For this action no cancellation is available. |
AUTH_AND_CAPTURE_REVERSAL | This actionType triggers a technical reversal on an actionType AUTH_AND_CAPTURE for service "Purchase" or "Refund" e.g. in case of a time-out. Due to current limitations, this actionType always triggers in clearing a PRESENTMENT_REVERSAL. In case the PRESENTMENT and PRESENTMENT_REVERSAL are in the same clearing batch, they are not sent out to scheme. Alternately, idempotency can be used; this is on the API roadmap. |
Capture Request
In Card Not Present it is common to use two separate steps (actionType AUTH and actionType CAPTURE) to complete a Service Purchase and Service Refund. The AUTH actionType is typically used by the Merchant in a Purchase service to reserve the funds at the cardholder when the goods are bought in the webshop. The CAPTURE actionType is typically used when the goods are shipped to request the funds.
The requestor must send in the capture request to complete the transaction and receipt of money. In a capture request the following data elements may be present.
Request actionType CAPTURE
Category | Field | Presence | Comment |
actionType | Mandatory | Type of action requested. Possible values: -“CAPTURE” -“CAPTURE_SPLIT” | |
service | Mandatory | Service requested. The follow-up actions must have the same value as the initial action. Possible value: -“Refund” | |
Identification | requestorId | Mandatory | Identifies the system or application that is sending the request. The values are allocated and assigned by Worldline. This field enables Worldline to distinguish the callers and to consider received information in their context (e.g. transaction references). |
actionId | Mandatory | Identifier assigned by the caller to the transaction. The provided values must be unique with respect to the requestor. That is, two requests generated by the same requestor must have different identifiers. The only exception is a retry/reattempt where the original value must be taken. The identifier must be in UUID format. | |
transactionId | Mandatory | Unique identification assigned by Worldline to a business transaction. The value from the initial authorization (e.g. AUTH or PREAUTH action) response must be used to populate this field. | |
originalTransactionId | Conditional | Reference to the original purchase, which is refunded. It should contain the transaction id present in the authorization response of the original purchase if service is “refund”. | |
acquirerId | Mandatory | Identification of the acquirer, assigned by Worldline | |
cardAcceptorId | Mandatory | Identification of the merchant, assigned by Acquirer | |
pspId | Conditional | Identification of the PSP, presence is mandated if assigned by Worldline | |
pspReference | Optional | PSP’s reference for the transaction | |
merchantReference | Optional | Merchant’s reference for the transaction | |
Financial | requestAmount | Mandatory | Final amount of the transaction, i.e. the amount for which the cardholder should be debited. When the transaction amount is split in multiple captures, the requestAmount should be the partial transaction amount, for which the cardholder should be debited, except for the last capture of the transaction (data element captureSequenceCount is present). In the last capture request, requestAmount should be the total amount of the business transaction. |
Circumstance | actionDateTime | Mandatory | Date and time in local time zone when the capture is requested |
channel | Mandatory | Channel used by the cardholder to purchase the goods or services. Possible values: -“Poi” -“ECommerce” -“MailOrder” -“PhoneOrder” | |
Card | cardNumber | Conditional | Primary Account Number of the card, conditional on how long after initial AUTH the follow-up action such as Capture takes place. • Optional for follow-up actions such as Captures for up to 30 days after initial AUTH (unless period is extended in agreement with acquirer). • Mandatory starting from 30 days after initial AUTH (unless period is extended in agreement with acquirer). |
cardExpiryDate | Conditional | Card Expiration Date, conditional on how long after initial AUTH the follow-up action such as Capture takes place. • Optional for follow-up actions such as Captures for up to 30 days after initial AUTH (unless period is extended in agreement with acquirer). • Mandatory starting from 30 days after initial AUTH (unless period is extended in agreement with acquirer). |
Captures should be repeated until a response is received. When a capture is repeated, it should have the same actionId as the original capture request so that Worldline can detect duplicates.
If you have not received a Capture response after 3 attempts, please contact Worldline FS support or your bank depending on the agreements in place.
Capture Response
In a capture response message, the following data elements can be present.
Response fields to CAPTURE actionType
Category | Field | Presence | Comment |
actionId | Mandatory | Echoed from the request | |
transactionId | Mandatory | Unique identification assigned by Worldline to a business transaction. This field is returned in the response of the initial Authorization request (AUTH or PREAUTH actionType) and must be used in all subsequent action requests and responses for the same business transaction. | |
declined | Mandatory | Boolean (true or false) whether the request has been completely declined or not | |
declineCause | Conditional | Reason why a request has been declined. Only present when the request has been declined completely | |
hints | Optional | Additional information for cardholder and/or merchant regarding transaction outcome and the next step to be taken. | |
responder | Mandatory | Indicates the entity which finally determined the outcome of the transaction. Possible values: -“Recipient”: Worldline -“Partner”: main entity (e.g. issuer or card scheme) being involved by Worldline in transaction processing | |
responderDetails | Mandatory | Response code provided by the entity which determined the final outcome of the transaction. In case this entity is Worldline, it is the internal result code of Worldline. This value is only provided for information purpose since the content is subject to change. The field must not be evaluated automatically. For decisions done by a partner this field provides the response code delivered by him. In case Worldline directly interacts with the card scheme via ISO 8583 it is the DE 39 field content from the returned response message. | |
paymentAccountReference | Conditional | A Payment Account Reference (PAR) is a unique value associated with a single PAN and attributed to all tokens associated with that PAN. A PAR can be used to link transactions containing PANs or tokens associated with the same underlying payment account. This field is present if returned by the card scheme. |
Multiple Partial Captures (Capture_Split)
A CAPTURE can be split into multiple partial CAPTURES e.g. in case the goods are delivered at multiple intervals in time. Each partial CAPTURE must contain the sequenceNumber. By the last partial CAPTURE it is mandated to send in the sequenceCount of the number of Partial Captures.
Request actionType CAPTURE_SPLIT (multiple partial captures)
Category | Field | Presence | Comment |
actionType | Mandatory | Type of action requested. Set to: -“CAPTURE_SPLIT” | |
service | Mandatory | Service requested. Set to: -“Purchase” | |
Identification | requestorId | Mandatory | Identifies the system or application that is sending the request. The values are allocated and assigned by Worldline. This field enables Worldline to distinguish the callers and to consider received information in their context (e.g. transaction references). |
actionId | Mandatory | Identifier assigned by the caller to the transaction. The provided values must be unique with respect to the requestor. That is, two requests generated by the same requestor must have different identifiers. The only exception is a retry/reattempt where the original value must be taken. The identifier must be in UUID format. | |
transactionId | Mandatory | Unique identification assigned by Worldline to a business transaction. The value from the initial authorization (e.g. AUTH or PREAUTH action) response must be used to populate this field. | |
captureSplit | captureSequenceNumber | Mandatory | Number of current CAPTURE in the sequence starting from 1. Increment for each split CAPTURE. To be used when a split of the CAPTURE is needed (CAPTURE_SPLIT). |
captureSequenceCount | Mandatory | Total number of captures for the transaction lifecycle flow. Mandatory for final/last CAPTURE. When sequenceNumber = sequenceCount it is assumed to be the last CAPTURE for the transaction lifecycle flow and no more captures will be accepted. Note: the last capture requestAmount is the sum of all the split capture amounts. This is to ensure any remaining amount is reversed. To be used when a split of the CAPTURE is needed (CAPTURE_SPLIT). |
Authorization and Capture
In some cases such as with a Refund, the Merchant may want to request both Authorization and Capture steps at the same time.
The request must then include the actionType “AUTH_AND_CAPTURE”, and the other mandatory and conditional authorization fields described under actionType AUTH.
Request actionType AUTH_AND_CAPTURE fields
Category | Field | Presence | Comment |
actionType | Mandatory | Type of action requested. Set to: -“AUTH_AND_CAPTURE” | |
service | Mandatory | Service requested. The follow-up actions must have the same value as the initial action. Possible values: -"Purchase" -“Refund” |
Disclaimer
The Open API specification is leading for integrations purposes. The Accept Transactions API documentation provides guidance on what is to be sent in for a particular transaction acceptance request (use case, action, brand, MCC, etc.).
The developer portal documentation does not provide a comprehensive set of rules and regulations on what request call body to send into the Accept Transactions API. To stay compliant and avoid data integrity issues, always consult the Card scheme processing rules. In addition, always consult your regulatory rules and regulations (for example consult the European Banking Authority websites for latest PSD II and SCA rules).