Accept or reject a transaction

Accept or reject a transaction 3D Secure (3DS) challenge.

When a transaction is created, a 3DS challenge may trigger to verify the identity of the cardholder. Use this endpoint to approve or deny the transaction. The Spend & Expense user must have the ADMIN user role to perform this operation.

Subscribe to the spend.three-ds-challenge.created event to get a webhook notification when a 3DS challenge is triggered for a transaction. See Spend & Expense 3DS challenge notification payload for more information.

See 3-D Secure - BILL Spend & Expense in the BILL Help Center to learn more about 3D Secure at BILL.

Path Params
string
required
length ≥ 1

BILL-generated ID or UUID of the transaction. You receive this transaction ID in the spend.three-ds-challenge.created webhook notification.

Body Params
string
enum
required

3D Secure action. Set this field as ACCEPT or REJECT.

Allowed:
Headers
string | null

Access token for Spend & Expense API authentication

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json