1. Issuing
PIK
  • Start
    • Getting Started
  • Authentication
    • Authentication Token
      POST
  • Global Account
    • Contacts
      • Create Contact
      • List Contacts
      • Get Contact
      • Count Contacts
    • Virtual Accounts
      • Create Virtual Account
      • List Virtual Accounts
      • Get Virtual Account
    • Transactions
      • List Transactions
      • Get Transaction
    • Account Balance
      • List Account Balances
      • Get Balance by Currency
    • Payout
      • Create Payout
  • Payment Links
    • Payment Links
      • Create Payment Link
      • Update Payment Link
      • Get Payment Link Detail
      • Get Payment Link List
    • Transactions
      • Get Transaction List
  • Issuing
    • Card Products
      • List Card Products
    • Cardholders
      • Create Cardholder
      • List Cardholders
      • Get Cardholder
    • Cards
      • Issue Card
      • List Cards
      • Get Card
      • Create Card Secure Session
      • Adjust Card Limit
      • Freeze Card
      • Unfreeze Card
    • Transactions
      • List Transactions
      • Get Transaction
  • Webhook
    • Global Account
      • Deposit Webhook
      • Payout Webhook
      • Virtual Account Webhook
    • Payment Links
      • Overview
      • Order Collect Out Webhook
      • Customer Payment Webhook
      • Customer Refund Webhook
      • Master Recharge Webhook
      • Web3 Direct Payment Webhook
      • Withdraw Out Webhook
    • Issuing
      • Card Operation Failed
      • Card OTP
      • Card Updated
      • Transaction Completed
      • Transaction Declined
      • Transaction Refunded
      • Transaction Reversed
      • Card Activated
      • Card Failed
  1. Issuing

Transaction Declined

transaction.declined — delivered when a transaction on one of your cards is declined.

When it fires#

A transaction was attempted on one of your cards and was refused. It can be refused at three
points:
By PIK's authorisation decision — for example your USD balance does not cover the amount
plus fees, the card is not ACTIVE, or the transaction is not in USD.
By your decision endpoint, if you have enabled authorization decisions,
including when it did not answer in time.
By the card network — for example the amount exceeds the card's remaining availableLimit.
declineReason is a human-readable explanation for display and support; do not parse it.
Declined transactions carry no fees and move no money, so fees is empty and
totalFeeAmount is 0.00. Any amount held on your balance for the attempt is released.

Payload#

Envelope#

FieldTypeDescription
eventIdstringUnique per event. Deduplicate on this value
eventTypestringAlways transaction.declined
versionstringPayload schema version. Additive changes do not bump it
occurredAtstringWhen the event happened, not when it was delivered (ISO 8601)
dataobjectThe transaction, see below

data#

Structurally identical to the response of GET /api/v1/issuing/transaction/{transactionNo}, so
a single parser handles both paths.
FieldTypeDescription
transactionNostringPIK transaction number
cardNostringPIK card number
cardholderNostringPIK cardholder number
typestringPURCHASE / REFUND / REVERSAL / ATM_WITHDRAWAL / VERIFICATION / SETTLEMENT_ADJUST
statusstringDECLINED for this event
originalTransactionNostringnull unless the declined attempt referenced an earlier transaction
transactionAmountstringAmount in the merchant's currency
transactionCurrencystringMerchant currency, ISO 4217
billingAmountstringAmount that would have been posted in the settlement currency
billingCurrencystringSettlement currency, ISO 4217
fxobjectForeign exchange details, see below
feesarrayEmpty for declined transactions
totalFeeAmountstring0.00
totalDebitAmountstringEquals billingAmount, since no fee applies
merchantobjectname / mcc / city / country
transactionTimestringTime the transaction was attempted
postedTimestringnull — the transaction never posted
declineReasonstringHuman-readable reason, for display and support. Do not parse it

fx#

FieldTypeDescription
isCrossCurrencybooleanWhether the transaction currency differs from the billing currency
ratestringExchange rate applied, billing currency per unit of transaction currency

Example#

{
  "eventId": "evt_01J9X8ZQ4T5S",
  "eventType": "transaction.declined",
  "version": "1.0",
  "occurredAt": "2026-08-11T03:05:02Z",
  "data": {
    "transactionNo": "TX260811V4W6X2",
    "cardNo": "CD260811X9Y8Z7",
    "cardholderNo": "CH260811A1B2C3",
    "type": "PURCHASE",
    "status": "DECLINED",
    "originalTransactionNo": null,
    "transactionAmount": "620.00",
    "transactionCurrency": "USD",
    "billingAmount": "620.00",
    "billingCurrency": "USD",
    "fx": {
      "isCrossCurrency": false,
      "rate": "1.00000000"
    },
    "fees": [],
    "totalFeeAmount": "0.00",
    "totalDebitAmount": "620.00",
    "merchant": {
      "name": "CLOUD HOSTING LTD",
      "mcc": "5734",
      "city": "Singapore",
      "country": "SG"
    },
    "transactionTime": "2026-08-11T03:05:00Z",
    "postedTime": null,
    "declineReason": "Insufficient card limit"
  }
}

Verifying the signature#

Three headers accompany every delivery:
HeaderValue
X-Webhook-EventEvent category, always ISSUING for this event
X-Webhook-Event-TypeThe specific event type, see above
X-Webhook-SignatureHMAC-SHA256 signature, lowercase hex
X-Webhook-Signature = hex_lower( HMAC_SHA256( appSecret, rawBody ) )
The signed content is the raw request body only, with no timestamp and no separator. The signing
key is your appSecret — there is no separate webhook secret.
1.
Sign the raw bytes of the request body, before any JSON parsing.
2.
Compare in constant time.
3.
Nothing time-based is signed, so a captured delivery stays replayable — deduplicating on
eventId is mandatory, not optional
.

Delivery#

Return any 2xx within 10 seconds to acknowledge.
Failed deliveries are retried on a fixed interval: 5 attempts, 5 minutes apart (about
20 minutes in total), after which the event is marked exhausted and never retried again.
This endpoint receives Issuing events only; still return 2xx for event types you do not handle.
Delivery is at least once — deduplicate on eventId.
Ordering is not guaranteed — use occurredAt to decide which version is newer.
See the Webhooks guide for verification code samples and recommended
handling.
Modified at 2026-09-30 09:27:00
Previous
Transaction Completed
Next
Transaction Refunded
Built with