Overview

When Cardcore sends a Postbridge transaction webhook to your endpoint, your server must reply with a JSON payload that contains a statusCode and a data object of ISO-style fields. Your response tells Cardcore whether to approve or decline the transaction.

Response shape

Required fields

number
required
Return 200 when your webhook endpoint successfully processed the callback and is returning a Postbridge decision payload.
string
required
The MTI for the response message.For authorization responses, return 0210.
string
required
The Postbridge response code that determines whether the transaction is approved or declined.Use 00 for approval.Use a decline code such as 96 when you want to reject the transaction.
string
The authorization code.Include this when the transaction is approved.Omit it for declines unless your Cardcore flow explicitly requires it.

Approved transaction example

Use 39 = "00" for an approved transaction.

Declined transaction example

Use a non-success response code in field 39 to decline the transaction. This example uses 96, which maps to SYSTEM_MALFUNCTION.

Integration notes

  • Echo the transaction fields that your webhook handler received unless Cardcore tells you to modify them.
  • Set field 39 to the decision code your business logic chooses.
  • Include field 38 only for approved transactions unless your processor requires otherwise.
  • Return the JSON response immediately from your webhook handler after your authorization decision is made.

Response codes

Use one of these Postbridge response codes in field 39.

Approved and successful

Refer or call issuer

Transaction and amount errors

Reversal, duplicate, and reconciliation

Security and cryptography

Postilion extended codes