v1

latestOpenAPI 3.1.02026-08-0425501.2 MB

Add Payment Profile

post/api/valor-vault/addpaymentprofile/{vault_id}

Path parameters

vault_idstring required

Vault customer ID (Numeric- Length of max chars 11)

Headers

Valor-App-IDstring required

Merchant APP ID (Alphanumeric - Length of 32 chars and special chars $@%#)

Valor-App-Keystring required

Merchant APP KEY (Alphanumeric - Length of 32 chars and special chars $@%#)

Request body

pan_numstring required

Customer card number 15 to 19 digits

expirystring date required

Card expiry date, Accepted expiry MMYY & MM/YY (We have a requirement of 4 characters and they in string format if a 0 is the beginning character)

cardholder_namestring

Name of the cardholder - Alphabet (Max length of 25 chars)

Response

200

codeinteger
statusstring
payment_idinteger

Example response

{
  "code": 201,
  "status": "OK",
  "payment_id": 3894
}