πΉοΈSimulator
Customer Verifications
Verify Customer
To verify a customer with pending verification and proceed with activation, make a PATCH
request to /simulator/customers/{customerId}/verify
.
Simulates customer verification success
Unique customer ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
PATCH /v1/simulator/customers/{customerId}/verify HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
No content
Reject Customer
To reject a customer with pending verification, make a PATCH
request to /simulator/customers/{customerId}/reject
.
Simulates customer verification rejection
Unique customer ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
PATCH /v1/simulator/customers/{customerId}/reject HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
No content
Cards
Issue Card
To approve a pending card issuance request and proceed with activation, make a PATCH
request to /simulator/cards/{cardId}/issue
.
Simulates card issuing success
Unique card ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
PATCH /v1/simulator/cards/{cardId}/issue HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
No content
Fail Card Issuance
To fail a pending card issuance request, make a PATCH
request to /simulator/cards/{cardId}/fail
.
Simulates card issuing failure
Unique card ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
PATCH /v1/simulator/cards/{cardId}/fail HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
No content
Authorisations
Initiate Card Authorisation
To initiate a card authorisation for a specified card, make a POST
request to /simulator/cards/{cardId}/authorisation
. You have an option to automatically capture the created authorisation upon approval.
Simulates card authorisation
Unique card ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Content digest
Amount to be authorised
10.0
Authorisation currency (ISO-4217)
EUR
Whether to capture the authorisation immediately
true
POST /v1/simulator/cards/{cardId}/authorisation HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Content-Digest: text
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"amount": "10.0",
"currency": "EUR",
"capture": true
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"cardId": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"amount": "10.0",
"currency": "EUR",
"merchantAmount": "10.0",
"merchantCurrency": "EUR",
"exchangeRate": "10.0",
"merchant": {
"id": "text",
"name": "text",
"mcc": 1,
"country": "text",
"city": "text"
},
"createdAt": "2025-07-13T17:36:58.781Z",
"updatedAt": "2025-07-13T17:36:58.781Z"
}
Capture Authorisation
To capture a pending card authorisation which was not initiated with automatic capture mode, make a PATCH
request to /simulator/authorisations/{authorisationId}/capture
.
Simulates card authorisation capture
Unique authorisation ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
PATCH /v1/simulator/authorisations/{authorisationId}/capture HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
No content
Release Authorisation
To release a pending card authorisation which was not initiated with automatic capture mode, make a PATCH
request to /simulator/authorisations/{authorisationId}/release
.
Simulates card authorisation release
Unique authorisation ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
PATCH /v1/simulator/authorisations/{authorisationId}/release HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
No content
Last updated