Skip to main content
PUT
Update transaction

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-version
string
default:2.0.0
required

Path Parameters

transaction_id
string
required

UUID of the transaction or Unique ID of the transaction that you have registered when the transaction was created.

consumer_id
string
required

Unique ID of the consumer that you have registered when the user was onboarded.

Required string length: 2 - 100

Body

application/json
amount
number
required

Signed transaction amount in the transaction currency; negative for debits, positive for credits.

Example:

-85.5

currency
enum<string>
required

ISO 4217 currency code (alpha-3 or numeric, e.g. 'EUR' or '978')

Available options:
AED,
AFN,
ALL,
AMD,
AOA,
ARS,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BHD,
BIF,
BMD,
BND,
BOB,
BOV,
BRL,
BSD,
BTN,
BWP,
BYN,
BZD,
CAD,
CDF,
CHE,
CHF,
CHW,
CLF,
CLP,
CNY,
COP,
COU,
CRC,
CUP,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
ERN,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRU,
MUR,
MVR,
MWK,
MXN,
MXV,
MYR,
MZN,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLE,
SOS,
SRD,
SSP,
STN,
SVC,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
USD,
USN,
UYI,
UYU,
UYW,
UZS,
VED,
VES,
VND,
VUV,
WST,
XAD,
XAF,
XCD,
XCG,
XOF,
XPF,
XSU,
XUA,
YER,
ZAR,
ZMW,
ZWG
Required string length: 3
Example:

"EUR"

executed_at
required

ISO 8601 date/datetime at which the transaction was executed.

Example:

"2023-07-15T14:32:45Z"

id
string
required

Unique identifier for the resource on your system

Example:

"tx_12345678abcdef"

raw_label
string
required

Raw descriptor as received from the bank, before any cleaning.

Example:

"PURCHASE NIKE STORE PARIS"

type
enum<string>
required

Nature of the transaction as reported by the bank.

Available options:
bank,
card,
check,
deferred_card,
deposit,
loan_payment,
order,
payback,
summary_card,
transfer,
unknown,
withdrawal
Example:

"bank"

acquirer_reference_number
string | null

Alphanumeric (accepts spaces, _ and -) acquirer reference number, unique identifier assigned to a card transaction by the acquirer, max 23 characters

Required string length: 1 - 23
Pattern: ^[a-zA-Z0-9 _-]{1,23}$
Example:

"74999912345678901234567"

authorization_id_response
string | null

Alphanumeric (accepts spaces, _ and -) reference number assigned by the issuer in response to a transaction authorization request, max 6 characters

Required string length: 1 - 6
Example:

"1A2B3C"

brand
BrandSchema · object | null

Brand metadata resolved for the transaction.

channel
enum<string> | null

Channel through which the transaction was made.

Available options:
store,
online
Example:

"store"

country_code
string | null

ISO 3166-1 alpha-2 country code where the transaction took place.

Pattern: ^\w{2}$
Example:

"FR"

is_realtime
boolean | null

Whether the transaction was pushed in real time (e.g. at authorization).

Example:

false

label
string | null

Cleaned, human-readable descriptor of the transaction.

Example:

"PURCHASE NIKE STORE"

retrieval_reference_number
string | null

Alphanumeric (accepts spaces, _ and -) retrieval reference number, unique identifier assigned to a card transaction during the authorization, max 12 characters

Required string length: 1 - 12
Pattern: ^[a-zA-Z0-9 _-]{1,12}$
Example:

"1A2B3C4D5E6F"

scheme
string | null

The network used for the transaction

Example:

"visa"

scheme_id
string | null

Alphanumeric (accepts spaces, _ and -) scheme identifier assigned to a card transaction by the card network

Minimum string length: 1
Pattern: ^[a-zA-Z0-9 _-]+$
Example:

"019876543210987"

state
enum<string> | null

Settlement state of the transaction.

Available options:
cleared,
authorization
Example:

"cleared"

store
StoreSchema · object | null

Store metadata resolved for the transaction.

truncated_dpan
string | null

Last 4 digits of the device token, must be a string without null bytes, and match 4 digits

Required string length: 4
Example:

"1A2B"

truncated_pan
string | null

Last 4 digits of the card number, must be a string without null bytes, and match 4 digits

Required string length: 4
Example:

"1A2B"

Response

Successful Response

amount
number
required

Signed transaction amount in the transaction currency; negative for debits, positive for credits.

Example:

-85.5

currency
enum<string>
required

ISO 4217 currency code (alpha-3 or numeric, e.g. 'EUR' or '978')

Available options:
AED,
AFN,
ALL,
AMD,
AOA,
ARS,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BHD,
BIF,
BMD,
BND,
BOB,
BOV,
BRL,
BSD,
BTN,
BWP,
BYN,
BZD,
CAD,
CDF,
CHE,
CHF,
CHW,
CLF,
CLP,
CNY,
COP,
COU,
CRC,
CUP,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
ERN,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRU,
MUR,
MVR,
MWK,
MXN,
MXV,
MYR,
MZN,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLE,
SOS,
SRD,
SSP,
STN,
SVC,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
USD,
USN,
UYI,
UYU,
UYW,
UZS,
VED,
VES,
VND,
VUV,
WST,
XAD,
XAF,
XCD,
XCG,
XOF,
XPF,
XSU,
XUA,
YER,
ZAR,
ZMW,
ZWG
Required string length: 3
Example:

"EUR"

executed_at
required

ISO 8601 date/datetime at which the transaction was executed.

Example:

"2023-07-15T14:32:45Z"

id
string
required

Unique identifier for the resource on your system

Example:

"tx_12345678abcdef"

raw_label
string
required

Raw descriptor as received from the bank, before any cleaning.

Example:

"PURCHASE NIKE STORE PARIS"

type
enum<string>
required

Nature of the transaction as reported by the bank.

Available options:
bank,
card,
check,
deferred_card,
deposit,
loan_payment,
order,
payback,
summary_card,
transfer,
unknown,
withdrawal
Example:

"bank"

acquirer_reference_number
string | null

Alphanumeric (accepts spaces, _ and -) acquirer reference number, unique identifier assigned to a card transaction by the acquirer, max 23 characters

Required string length: 1 - 23
Pattern: ^[a-zA-Z0-9 _-]{1,23}$
Example:

"74999912345678901234567"

authorization_id_response
string | null

Alphanumeric (accepts spaces, _ and -) reference number assigned by the issuer in response to a transaction authorization request, max 6 characters

Pattern: ^[a-zA-Z0-9 _-]{1,6}$
Example:

"1A2B3C"

brand
BrandSchema · object | null

Brand metadata resolved for the transaction.

channel
enum<string> | null

Channel through which the transaction was made.

Available options:
store,
online
Example:

"store"

country_code
string | null

ISO 3166-1 alpha-2 country code where the transaction took place.

Pattern: ^\w{2}$
Example:

"FR"

is_realtime
boolean
default:false

Whether the transaction was pushed in real time (e.g. at authorization).

label
string | null

Cleaned, human-readable descriptor of the transaction.

Example:

"PURCHASE NIKE STORE"

retrieval_reference_number
string | null

Alphanumeric (accepts spaces, _ and -) retrieval reference number, unique identifier assigned to a card transaction during the authorization, max 12 characters

Required string length: 1 - 12
Pattern: ^[a-zA-Z0-9 _-]{1,12}$
Example:

"1A2B3C4D5E6F"

scheme
string | null

The network used for the transaction

Example:

"visa"

scheme_id
string | null

Alphanumeric (accepts spaces, _ and -) scheme identifier assigned to a card transaction by the card network

Minimum string length: 1
Pattern: ^[a-zA-Z0-9 _-]+$
Example:

"019876543210987"

state
enum<string> | null

Settlement state of the transaction.

Available options:
cleared,
authorization
Example:

"cleared"

store
StoreSchema · object | null

Store metadata resolved for the transaction.

truncated_dpan
string | null

Last 4 digits of the device token, must be a string without null bytes, and match 4 digits

Pattern: ^[A-Za-z0-9]{4}$
Example:

"1A2B"

truncated_pan
string | null

Last 4 digits of the card number, must be a string without null bytes, and match 4 digits

Pattern: ^[A-Za-z0-9]{4}$
Example:

"1A2B"