Sources

Source object represent your customer's payment method or instrument. Those are used with Payments API to pay a payment or related to Customer object to be used as a reusable payment instrument.

Source object

Create a source

POST https://api.piriod.com/sources/

Creates a new source object.

Request Body

{
    "name": "Cake's name",
    "recipe": "Cake's recipe name",
    "cake": "Binary cake"
}

Retrieve a source

GET https://api.piriod.com/sources/

Request Body

Destroy a source

DELETE https://api.piriod.com/sources/

Request Body

Authorize a source

GET https://api.piriod.com/sources/{{id}}/authorize/

Path Parameters

Last updated