Replace payment proof
Replace payment proof.
Credential: Customer session
Before you call
- A customer session for the same partner, integration, customer, wallet and chain.
- To change proof, the customer must be the fiat payer on a BUY, and the trade must be CREATED, PAID or DISPUTED.
- Uploads accept PNG or JPEG files up to 3 MiB decoded. Authenticated reads return merchant originals unchanged.
BUY customer payer only while CREATED, PAID or DISPUTED. Save the new file before replacing the active receipt; failed uploads retain the prior proof. Stale expectedProofId returns 409. An identical replacement retry returns the saved proof. Chat history retains previous receipt files.
Storage unavailability can return 502 or 503 UPSTREAM_ERROR. Retry with backoff; contact Sinbad with requestId if it persists.
Confirm with Sinbad that this endpoint is enabled in your environment.
Errors
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
tradeId
Request
This endpoint expects an object.
contentType
Allowed values:
dataBase64
expectedProofId
Response
Replacement proof metadata with a new proofId and image preview.
proofId
contentType
Original content type; merchant files can use native image formats.
size
uploadedByRole
Allowed values:
uploadedAt
base64
Blurred preview, not original file bytes.
width
height
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
502
Bad Gateway Error
503
Service Unavailable Error