POST
/
payment
/
token
/
register
curl --request POST \
  --url https://gateway.varchev.com/ipg/payment/token/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "shipping": {
    "country": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postcode": "<string>",
    "street1": "<string>"
  },
  "customer": {
    "telnocc": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "givenName": "<string>",
    "surname": "<string>",
    "customerId": "<string>"
  },
  "card": {
    "number": "<string>",
    "expiryMonth": "<string>",
    "expiryYear": "<string>",
    "cvv": "<string>"
  },
  "paymentBrand": "<string>",
  "paymentMode": "<string>",
  "organizationId": "<string>"
}'
{
  "memberId": 123,
  "registrationId": "<string>",
  "paymentBrand": "<string>",
  "paymentMode": "<string>",
  "timestamp": "<string>",
  "result": {
    "code": 123,
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

Response

200
text/plain

Success

The response is of type object.