Ttushe / docs
nsk_test_Operational

Initiate payment collection

Creates a payment intent and returns a checkout URL. Redirect the user to authorizationUrl. On success, the Paystack webhook credits the account. Idempotent: replaying the same idempotency-key returns the same intentId.

POSThttps://api.trytushe.com/v1/payments/collect
POST/v1/payments/collect

Authorization

api-key
x-api-key<token>

In: header

Header Parameters

idempotency-key*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "intentId": "pi_01abc",    "authorizationUrl": "https://checkout.paystack.com/...",    "accessCode": "abc123"  }}