Account funding transaction checkouts

Charge an account funding transaction with the iframe checkout on your website

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Required parameters can vary by bank

The parameters required for account funding transactions can differ depending on your acquiring bank. For help with your setup, contact [email protected].

Learn how to perform an account funding transaction with the iframe checkout.


1. Create the checkout in the payment gateway

The first step is to perform a POST request to the payment gateway to create a checkout, with the payment type, amount, currency, and required attributes.

Here is the request to create a checkout for an account funding transaction, and you can send it from this page. The same request works for Visa and Mastercard.

Try it: select an example in the request panel:

  • Account funding transaction: the request for Visa and Mastercard.
  • Canada, Australia, and US: adds the extra parameters for recipients in these countries.

Enter your {auth_token} as the bearer token, and replace the {channelId} and the other example values with your values. Each parameter in the panel says when it's mandatory.

The examples include testMode=EXTERNAL, which is for the test environment only, so remove it when you go live.

For more details on 3DS testing, see the Gateway 3DS testing guide.

For full details of all the parameters, see Checkout request attributes.

From the response, you will need the value of the id and integrity for the next step. When you send the request from this page, the payment form in step 2 uses them automatically.


2. Create the payment form on your web page

To create the payment form on your web page, add the following lines of JavaScript and HTML and enter the variables for your checkout and site.

  1. This script gets the checkout from the payment gateway. Add the checkoutId with the value of the id and add the value of integrity from the response in Step 1. Replace anonymous with the address of your website that loads the COPYandPAY checkout.
<script 
        src="https://eu-test.oppwa.com/v1/paymentWidgets.js?checkoutId={checkoutId}"
        integrity="{integrity}"
        crossorigin="anonymous">
</script>
  1. This HTML displays the checkout. The shopperResultUrl is a page on your site where the customer should be redirected after payment processing.
<form action="{shopperResultUrl}" class="paymentWidgets" data-brands="VISA MASTER"></form>

For example, a checkout script could look like this.

<script src="https://eu-test.oppwa.com/v1/paymentWidgets.js?checkoutId=702B930F656317E0D29A22D195F75A59.uat01-vm-tx03"
        integrity="sha384-KnYRC1jbE3C9SMGbJ5eU2Gx+AM9PCaApfqS6lk8MpPlvk9jIii4PFu297dPu4wcy"
        crossorigin="https://example.com">
</script>

For example, your checkout HTML could look as follows.

<form action="https://myshop.example.com/paid" class="paymentWidgets" data-brands="VISA MASTER"></form>

Try the payment form

After you create a checkout with Try It in step 1, the payment form appears here. It uses the test environment, so no money is taken. When you pay, the gateway sends you back to this page and the payment response appears under the form.

Payment details

Create the checkout with Try It. The payment form appears here.


Use any expiry date in the future and any CVV. Never enter a real card.

CardNumberResult
Visa4200000000000091Success, no 3-D Secure challenge
Visa4200000000000042Success after a 3-D Secure challenge
Mastercard5200000000000007Success, no 3-D Secure challenge
Mastercard5200000000000015Success after a 3-D Secure challenge

You can use the same checkout ID multiple times to retrieve a valid payment form. If a customer does
not finish the payment and then reloads the page or uses the browser's back button, you do not need to create a new checkout. However, these actions can generate multiple transactions in the system. For example, there can be one or more failed transactions and one successful transaction from the same checkout ID.

The checkout expires in 30 minutes, and after it expires, you must send a new request to create a checkout and use the new checkoutId to create the payment form again.

👍

Customise the payment widget

To customise the payment widget to match the look of your own site, see this customisation guide and the advanced options guide.

You can also add extra fields to this form, for example, to obtain the customer details during checkout.

To display some sample customisations, go to demo checkouts. You can obtain the code for the demo checkouts at Demo checkouts on GitHub.


3. Get the payment status from the checkout in the gateway

When the payment has been processed, CardCorp will redirect the customer to your shopperResultUrl.

To get the payment status, make a GET request to the payment link of your checkout in the gateway, as follows.

curl -G https://eu-test.oppwa.com/v1/checkouts/{id}/payment \
-d "entityId={channelId}" \
-H "Authorization: Bearer {auth_token}"

Replace the checkout {id}and the {auth_token} with your values.

A possible example of a payment response is as follows.

{
  "id": "8ac7a49fa1a0e5a401a1a1663c5d1447",
  "paymentType": "DB",
  "paymentBrand": "VISA",
  "amount": "20.00",
  "currency": "EUR",
  "descriptor": "4833.6650.3671",
  "merchantTransactionId": "P123",
  "result": {
    "avsResponse": "U",
    "cvvResponse": "P",
    "code": "000.100.112",
    "description": "Request successfully processed in 'Merchant in Connector Test Mode'"
  },
  "resultDetails": {
    "ExtendedDescription": "Approved",
    "AcquirerResponse": "00",
    "SchemeResponseCode": "00"
  },
  "card": {
    "bin": "420000",
    "binCountry": "US",
    "last4Digits": "0091",
    "holder": "John Smith",
    "expiryMonth": "12",
    "expiryYear": "2034",
    "issuer": {
      "bank": "JPMORGAN CHASE BANK, N.A.",
      "website": "HTTPS://WWW.CHASE.COM/",
      "phone": "+ (1) 212-270-6000"
    },
    "type": "CREDIT",
    "country": "US",
    "maxPanLength": "16",
    "binType": "PERSONAL",
    "regulatedFlag": "N"
  },
  "customer": {
    "givenName": "John",
    "surname": "Smith",
    "phone": "34667666666",
    "email": "[email protected]"
  },
  "billing": {
    "street1": "Grillparzerstr 18",
    "city": "Munich",
    "postcode": "81675",
    "country": "DE"
  },
  "threeDSecure": {
    "eci": "05",
    "version": "2.2.0",
    "dsTransactionId": "87c0874c-5638-4e61-bc38-e7a6363fbf2b",
    "challengeMandatedIndicator": "",
    "transactionStatusReason": "",
    "acsTransactionId": "1255d86d-768e-4d42-b0b2-0deaf878c80a",
    "cardHolderInfo": "",
    "flow": "frictionless",
    "authenticationStatus": "Y",
    "acsReferenceNumber": "b04ea28d11294692a29f63d2f5c84bfc",
    "dsReferenceNumber": "13db2d60d08c4f6b83de194ca5245e57",
    "purchaseDate": "20261103123314",
    "authMethod": "02"
  },
  "customParameters": {
    "TransactionTypeIdentifier": "F07",
    "AdditionalTrace": "123456789"
  },
  "risk": {
    "score": "0"
  },
  "buildNumber": "0b5e57bfdc1b9f510fb8efcb911d4daa51db9bbe@2026-11-02 08:28:23 +0000",
  "timestamp": "2026-11-03 12:33:15+0000",
  "recipient": {
    "givenName": "Jane",
    "surname": "Smith",
    "accountNumberType": "RTN_AND_BANK_ACCOUNT"
  },
  "ndc": "0E7498FC8128D6E792FBE065A7ABF4D6.uat01-vm-tx01"
}

To interpret the payment response, see Transaction results.

There is a request limit for payment status calls, after which throttling will occur. You can send two (2) GET payment requests per minute for each checkout ID.

In the payment response, compare the returned values with the expected values for the following fields: ID(s), amount, currency, brand and type.

After a payment response status check is successful, you cannot use the checkout identifier again. So if you need to get the status, use the Transaction Reports endpoint with the payment id. You will also need the id to manage payments with the Backoffice API.


View the technical integration guide

The gateway Integration Guide provides a comprehensive playground with code samples in all major programming languages.

Questions? - Visit our website and chat to our payment experts to learn more about integrating our COPYandPAY iFrame checkout.

Form Data
string
required

Your channel ID. AN32.

string
required
^\d{1,10}\.\d{2}$

Amount of the transaction. N10.N2.

string
required
length ≤ 3

Currency of the transaction. A3.

string
enum
required

Must be DB.

Allowed:
boolean
required

Checkout security. Set to true.

string
required
length ≤ 255

Your identifier for the transaction. AN..255.

string
enum

Must be FUNDING. Mandatory for Visa account funding transactions.

Allowed:
string
enum

Business application identifier, which says what the funds are for: FT funds transfer or LA liquid assets. Mandatory for Visa account funding transactions.

Allowed:
string
length ≤ 12

Purpose of the payment. Case-sensitive. Visa needs this for account funding transactions to recipients in Argentina, Bangladesh, Chile, Colombia, Egypt, India or Saudi Arabia.

string

Billing street. Mandatory for 3DS.

string

Billing city. Mandatory for 3DS.

string
length ≤ 2

Billing country as a 2-letter code. Mandatory for 3DS.

string

Billing postcode. Mandatory for 3DS.

string

Customer email. Recommended.

string

Customer first name. Recommended.

string

Customer last name. Recommended.

string

Customer phone number. Recommended.

string

Merchant street. Mandatory for Visa account funding transactions to recipients in Canada or Australia, and for Visa cross-border account funding transactions to recipients in New Zealand.

string

Merchant state. Mandatory for Visa account funding transactions to recipients in Canada or Australia.

string
length ≤ 10

Up to 10 characters. Merchant postcode. Mandatory for Visa account funding transactions to recipients in Canada or Australia.

string
length ≤ 25

Up to 25 characters. Merchant legal name. Mandatory for Visa account funding transactions to recipients in Canada or Australia.

string
length ≤ 50

Up to 50 characters. Mandatory for Visa account funding transactions.

string
length ≤ 50

Up to 50 characters. Mandatory for Visa account funding transactions.

string

Mandatory for Visa account funding transactions.

string
length ≤ 35

Up to 35 characters. Mandatory for Visa account funding transactions.

string
length ≤ 25

Up to 25 characters. Mandatory for Visa account funding transactions.

string
length ≤ 2

2 characters. Mandatory for Visa account funding transactions.

string

The sender's postcode.

string
length ≤ 3

A3. Mandatory for Visa account funding transactions.

date

yyyy-MM-dd. Mandatory for Visa cross-border account funding transactions.

string
enum

Type of the sender's account, for Visa account funding transactions. For CARD_ACCOUNT, the card number comes from the payment form. For the other types, send sender.accountNumber.

Allowed:
string
length ≤ 32

The sender's account number, for Visa account funding transactions from non-card accounts. AN32.

string
required
length ≤ 48

Recipient first name. AN48. Mandatory.

string
required
length ≤ 48

Recipient last name. AN48. Mandatory.

string
length ≤ 25

ANS..25. Mandatory for Mastercard Send Funding to the US and Canada, for Visa account funding transactions to recipients in Canada, and for Visa cross-border account funding transactions to recipients in Australia or New Zealand.

string
length ≤ 15

ANS..15. Mandatory for Mastercard Send Funding to the US and Canada, and for Visa account funding transactions to recipients in Canada.

string
length ≤ 3

ANS..3. Mandatory for Mastercard Send Funding to the US and Canada, and for Visa account funding transactions to recipients in Canada.

string
length ≤ 3

A3. Mandatory for Mastercard Send Funding to the US and Canada, and for Visa account funding transactions to recipients in Canada.

string
length ≤ 10

ANS..10. Mandatory for Mastercard Send Funding to the US and Canada.

date

yyyy-MM-dd. Mandatory for Mastercard Send Funding to the US and Canada.

string

Mandatory for Mastercard Send Funding to the US and Canada.

string
enum

Type of the recipient's account. Mandatory for Mastercard Send Funding transactions.

string
length ≤ 50

ANS..50. Mandatory for Mastercard Send Funding transactions.

string
enum

F07 General Person to Person Transfer, F08 Person to Person Transfer to Card Account, F52 General Transfer to Own Account, F54 Payment of Own Credit Card Bill, F61 Transfer to Own Staged Digital Wallet Account, F64 Transfer to Own Debit or Prepaid Card Account. Mandatory for Mastercard Send Funding transactions.

Allowed:
string
^\d{1,19}$

N..19, numeric. Must be unique for each transaction. Mandatory for Mastercard Send Funding transactions.

string
^\d{6}$

Date the recipient is expected to receive the funds, for Mastercard Send Funding transactions. YYMMDD. If you don't send it, the transaction date plus one day is used.

string

Your 3DS challenge preference for this transaction.

string
enum

Test environment only. EXTERNAL sends the transaction to the acquirer's test environment, and INTERNAL processes it in the gateway only.

Allowed:
boolean

Test environment only. Set to true for any card to specify that it is enrolled in 3DS. You can use 3DS test cards instead.

string
enum

Test environment only. Set to challenge to force a 3DS challenge, or frictionless. You can use 3DS test cards instead.

Allowed:
Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json