Syntch Gateway API

<back to all web services

PostTokenRequest

Quick Payments
The following routes are available for this service:
POST/quickpayments/tokensCreates a token from a QuickPayments token.
PostTokenRequest Parameters:
NameParameterData TypeRequiredDescription
QuickPaymentsKeymodelstringYesThe QuickPayments Key.
QuickPaymentsTokenmodelstringYesThe QuickPayments Token.
TokenFormatmodelTokenFormat?NoThe format of the requested token.

Allowable Values

  • Uid
  • Integer
TokenFormat Enum:
NameValue
Uid1
Integer2
CardFormat3
TokenResponse Parameters:
NameParameterData TypeRequiredDescription
TokenmodelstringNoThe token added.

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /quickpayments/tokens HTTP/1.1 
Host: syntch.simpay.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"QuickPaymentsKey":"String","QuickPaymentsToken":"String","TokenFormat":"0"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'TokenResponse' using the custom 'csv' filter}No parameterless constructor defined for this object.