Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 3.05 KB

DEBIT.md

File metadata and controls

63 lines (49 loc) · 3.05 KB

Monetary Pay API

Debit Transaction Requests

Debit Transaction Responses

Sale

POST /debit/sale

Request Fields (bold fields required)

Field Type Max Length Description Location
Track2 String 37 Card Track2 Data (stripe) Body
DerivedKey String 20 Debit Derived Key Body
PINBlock String 20 Debit PIN Block Body
Amount String 8 Transaction Amount Body
InvoiceNo String 10 Unique Transaction Identifier Body
OverrideDuplicate Boolean Override Duplicate Transaction Body
Trace String 40 Echoed in Response Body

Return

POST /debit/return

Request Fields (bold fields required)

Field Type Max Length Description Location
Track2 String 37 Card Track2 Data (stripe) Body
DerivedKey String 20 Debit Derived Key Body
PINBlock String 20 Debit PIN Block Body
Amount String 8 Transaction Amount Body
InvoiceNo String 10 Unique Transaction Identifier Body
OverrideDuplicate Boolean Override Duplicate Transaction Body
Trace String 40 Echoed in Response Body

Responses

Debit transaction response bodies will include the following fields:

Response Fields

Field Type Max Length Description
Status 1 String 10 Transaction Status
Account Numeric 19 Masked Card Account Number
Expiration String 4 Masked Card Expiration Date
Brand 2 String 4 Card Brand
Amount String 8 Transaction Amount
Authorized String 8 Amount Authorized
InvoiceNo String 10 Echoed Unique Transaction Identifier
RefNo 3 String 10 Transaction Reference Number
Trace String 40 Echoed from Request

1 Status values: Approved, Declined, Success, or Error
2 Brand values: Debit
3 Store RefNo value for follow-up transaction use.