Migrate Payment Details

Changed on

This endpoint allows you to migrate payment details from other payment provider.

post/migrate-payment-details

Request

  • Base URL
    https://secure.vend-o.com/api/gateway
  • URL
    https://secure.vend-o.com/api/gateway/migrate-payment-details
  • Auth
    none required

Request body

api_secretstring required

This is the credential that Vendo will use to authenticate your request

is_testinteger

Set to 1 if you want to process a test transaction. Check Appendix A for test card details.

merchant_idinteger required

Your Vendo Merchant ID. This will be provided by your account manager

site_idinteger required

The Vendo Site ID for which you're processing the transaction.

trace_idstring required

Trace ID or initial transaction ID generated at the initiation of the subscription.

currencystring

REQUIRED for subscription with recurring scheduled rebills. The 3-letter currency code of the amount to be charged. Currencies

Response

200

statusinteger
payment_details_tokenstring
request_idstring

Example response

{
  "status": 1,
  "external_references": {
    "transaction_reference": "123",
    "program_id": "1",
    "campaign_id": "2",
    "affiliate_id": "3"
  },
  "subscription": {
    "id": 240123482,
    "datetime": "2020-03-31T12:51:37+02:00"
  },
  "payment_details_token": "1234567890",
  "request_id": "XoMgrUtN4CXZnJrJ2sRT5wAAAMc"
}

Changes