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>"
}
}
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>"
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Success
The response is of type object
.