Description

Creates a new Campaign

Arguments

Argument Description Required
merchant_id Merchant ID of the Organization on which to create the Campaign. true
campaign[title] The title of the new Campaign. true

Example Request

curl https://app.atpay.com/api/v5/campaigns \
  -u key:secret \
  -d merchant_id=m_XXXXXXXXXXXXXXXXXXXXXX \
  -d campaign[title]="Campaign Title"

Example Response

{
  "form_url" : "https://my-test-organization.atpy.it/campaign-title",
  "slug"     : "campaign-title"
}