Create Payment Profile

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

Request

  • Base URL
    https://demo.valorpaytech.com
  • URL
    https://demo.valorpaytech.com/api/fl-valor-vault/addpaymentprofile/{vault_id}
  • Auth
    none required

Path parameters

vault_idstring required

Must be a numeric value with a maximum length of 11 digits. Example: 3510, 12345678901

Headers

Valor-App-IDstring required

Must be 32 characters and can contain alphabets, numbers, and special characters ($ @ % #). Example: Vw7RdW6IPmRH4Z2feCE8Pp1iqeahSonN

Valor-App-Keystring required

Must be 32 characters and can contain alphabets, numbers, and special characters ($ @ % #). Example: Tv26MihzxwblHyk6gEuVelY2XwQE58jU

Request body

pan_numstring required

Must contain 13 to 19 numeric digits, pass card number validation, and cannot consist of the same digit repeated. Example: 4111111111111111, 5454545454545454

expirystring required

Must be in MM/YY or MMYY format and represent a valid future expiry date. Example: 12/28, 1228

cardholder_namestring

Must contain letters and spaces only, be between 5 and 25 characters, and not contain special or malicious characters. Example: Sheila Mitch, John Smith

is_validate_cardboolean

Must be a Boolean value (true or false). Example: true, false

Response

200

codeinteger
statusstring
payment_idinteger

Example response

{
  "code": 200,
  "status": "SUCCESS",
  "payment_id": 118799
}

Changes

No recorded changes to this operation across all 1 revision of this API.