Skip to main content

Payment Examples

Complete examples for initiating a payment. They use the signRequest / sign_request / SignRequest helper from the Authentication page, which builds the v1 canonical string and returns the required auth headers.

Initiate Payment

Getting INVALID_SIGNATURE? Work through the common mistakes on the Authentication page — the usual culprits are re-serialized bodies, millisecond timestamps, and signing with the wrong host.