Developer Portal

4.2 Credit Card Requests with Token

FieldNameDescriptionTypeMin LengthMax Length
1CommandCase insensitive command. Supported commands:
'CCAuthorizeToken' **,
'CCSaleToken',
'CCCreditToken'
AlphaN/AN/A
2Source IDTransaction Source ID. Source IDs are configured for your company on Payway. The source ID determines which merchant is used. A single file can have multiple source IDs. NumberN/AN/A
3TokenPayway token to be used for this transaction. Number110
4ECI TypeInput ECI type.
1 → MOP_MOTO_SINGLE
2→ MOP_MOTO_RECURRING
3→ MOP_MOTO_INSTALLMENT
4→ MOP_MOTO_DEFERRED
5→ MOP_SET
6 → MOP_NA_SET
7 → MOP_CHANNEL_ENCRYPT
8 → MOP_NON_SECURE
9 → MOP_PINLESS_DEBIT
10 → MOP_RETAIL
Number12
5AmountAn integer representing the amount in pennies for the transaction. Required for Authorize, Sale, and Credit. Ignored for Capture and Void. Amount is in PENNIES

example: $100.00 → 10000
Number19
6TaxAn integer representing the tax in pennies for the transaction.

example: $10.00 → 1000
Number19
7Notes 1User data up to 64 bytesany064
8Notes 2User data up to 64 bytesany064
9Notes 3User data up to 64 bytesany064
# Sample file template with token
delimiter ;
<Command>;<Source Id>;<Token>;<ECI Type>;<Amount>;<Tax Amount>;<CustomFieldOne>;<CustomFieldTwo>;<CustomFieldThree>

# Sample Sale file
delimiter ; 
CCSaleToken;20;010000344;1;120000;0;test1;test2;test3

# Sample Authorize file
delimiter ; 
CCAuthorizeToken;20;010000344;1;120000;0;test1;test2;test3

# Sample Credit file
delimiter ; 
CCCreditToken;20;010000344;1;120000;0;test1;test2;test3

 

Subscribe

Every post in your inbox