v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
MoneyIns | Cards

Finalize a Direct Payment (PCI-DSS compliant only)

This method finalizes the credit of a wallet by card after 3D Secure authentication of the client:<br />

  1. After initiating a Direct Payment using <b>POST /moneyins/card/direct/3dinit</b>, you receive an Authentication URL and a Transaction Id. If you want to register a card for future payments set registerCard=true
  2. With the Authentication URL, you are able to redirect the end-user to the ACS (Bank Authentication Server) Page
  3. After 3D Secure Authentication, you will be called back on the ReturnURL
  4. You need to then call <b>POST /moneyins/card/direct/{transactionid}/3dauthenticate</b> to verify the authentication process was done.
  5. If the authentication was done then call <b>PUT /moneyins/card/direct/{transactionid}/3dconfirm</b> specifying the return Transaction ID to finalize the payment. <br /> For Subscriptions with equal recurring amounts: for the initial subscription payment, use the <b>POST /moneyins/card/direct/3dinit</b> and then <b>POST /moneyins/card/direct/{transactionid}/3dauthenticate</b> and <b>PUT /moneyins/card/direct/{transactionid}/3dconfirm</b> Ensure that you set: <b>registerCard=true</b> Use POST /moneyins/card/{cardid}/rebill for all subsequent payments.
put/v2/moneyins/card/direct/{transactionid}/3dconfirm

Path parameters

transactionidinteger required

Headers

Authorizationstring required

Authorization bearer (OAuth 2)

PSU-Accept-Languagestring

Response language accepted by final client (PSU). English by default

PSU-IP-Addressstring required

IP address of the final client (PSU).

PSU-User-Agentstring

User-agent of the final client (PSU).

Request body

isPreAuthboolean

Mercanet only Indicates if the request is delayed and will require validation.

  1. If true, payment will only be pre-authorized, you will have to call the MoneyInValidate method within 6 days or [delayedDays] in order to request the debit card.
  2. If empty, the default behavior is no delay and no validation is necessary (unless stated otherwise in your contract).
  3. If false, the card will be debited without delay and without validation necessary.
delayedDaysinteger

Mercanet only If isPreAuth is not true, this will be ignored. Please use with caution, if delayedDays > 6, it is possible that the payment will be denied when you try to validate it, because a new authorization will be made.

mdstring

MD Data Returned by 3-D Secure Site

paresstring

Pares Data Returned by 3-D Secure Authentication Website

specialConfigstring

Leave Empty

Example request

{
  "card": {
    "cardType": 1,
    "cardNumber": "4716202982346875",
    "cardCode": "123",
    "cardDate": "06/2028"
  },
  "md": "1Ok9dCP55UUkWfdJwEid",
  "pares": "eJxVkdtSwjAQhl+lwwM0SY+EWTKDgsKMICIgXGbaV"
}

Response

OK