v1

latestOpenAPI 3.0.3Apache License Version 2.02026-07-2631211285.4 KB
Tokenize Services

Tokenize Card

Create secure token from card.

post/v1/payment/tokenize

Headers

Content-Typestring required

The Media type of the body of the request. Default value for payment provider protocol is application/json

Acceptstring required

Acceptable media type(s) for the response. Default value for payment provider protocol is application/json

Request body

Example request

{
  "transaction": {
    "reference_id": "REF0000001"
  },
  "card": {
    "number": "4225289837059229",
    "expiration_month": "01",
    "expiration_year": "2030",
    "security_code": "123",
    "holder_name": "Jhon Doe Jones"
  }
}

Response

Create secure token

secure_tokenstring required

Secure token used for create payment service with payment method card.

Example response

{
  "secure_token": "86198ce2640145ef2488e884b8ecb459d414700dc540f76ee6034824f6187e9ac3d100f3649650754d3a2592c0391c3f90d924d745fb7e6d0a9fae4cfa79c4e55f9ab1e00102c0a5c7a7e7c59cfff219c86c30c77b9e5509e224f293052f58c275123a"
}
All 31 operations